﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="SelectInstrutor.aspx.cs" Inherits="AcademiaInteligenteWeb.SelectInstrutor" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1>Selecione os Ambientes
    </h1>
    <div id="dados">
        <asp:GridView ID="grdAmbientes" runat="server" AutoGenerateColumns="false" AllowPaging="true" OnRowDataBound="grdAmbientes_RowDataBound">
            <AlternatingRowStyle CssClass="alterningRow" />
            <SelectedRowStyle CssClass="selectedRow" />
            <Columns>
                <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="30px">
                    <ItemTemplate>
                        <input runat="server" id="selectItem" type="checkbox" name="chkSelect" class="checkboxGrid" value='<%#Eval("id")%>' />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="Nome" HeaderText="Nome" />
                <asp:BoundField DataField="Login" HeaderText="Login" HeaderStyle-Width="160px" />
                <asp:BoundField DataField="TipoFuncionario.descricao" HeaderStyle-Width="160px" HeaderText="Tipo" />
            </Columns>
        </asp:GridView>
        <br />
        <asp:Button Text="Gravar" ID="btnGravar" runat="server" OnClick="btnGravar_Click" />
    </div>
</asp:Content>
